From 45b2743559aa01c1b714ddf992915a86591d9cd9 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Wed, 6 Dec 2006 21:45:45 +0000 Subject: [PATCH] Fix typo, thanks to Sven Klemm for finding. --- includes/SearchPostgres.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SearchPostgres.php b/includes/SearchPostgres.php index 553f734a43..457636b481 100644 --- a/includes/SearchPostgres.php +++ b/includes/SearchPostgres.php @@ -98,7 +98,7 @@ class SearchPostgres extends SearchEngine { $match = $this->parseQuery( $filteredTerm, $fulltext ); - $query = "SELECT page_id, page_namespace, page_title, old_text AS page_text ". + $query = "SELECT page_id, page_namespace, page_title, old_text AS page_text, ". "rank(titlevector, to_tsquery('default','$match')) AS rnk ". "FROM page p, revision r, pagecontent c WHERE p.page_latest = r.rev_id " . "AND r.rev_text_id = c.old_id AND $fulltext @@ to_tsquery('default','$match')"; -- 2.20.1